#ifndef ITEMSBROWSER_H
#define ITEMSBROWSER_H

#include <String>
#include "Stock.h"

using namespace std;

class ItemsBrowser{
public:
	void displayAItems(Stock &stock, string ID); //Display a item with specific id
	void displayATypeOfItems(Stock &stock, int type, int compareFactor); //Display a type of items with sorting
	void displayATypeOfItems(Stock &stock, int type, int compareFactor, int threshold); //Display a type of items(low shock) with sorting
	void displayAllItems(Stock &stock, int compareFactor); //Display all items with sorting
	void displayAllItems(Stock &stock, int compareFactor, int threshold); //Display all items(low shock) with sorting
private:
	void displayItems(Stock &stock); //Display items in the stock buffer
	void displaySLine(int length); //Display a seperator line
};

#endif